package interfaces.interfaceprocessor;
import interfaces.filters.*;
class FilterAdapter implements Processor{
	Filter filter;
	public FilterAdapter(Filter filter) {
		// TODO 自动生成的构造函数存根
		this.filter = filter;
	}
	@Override
	public String name() {
		return filter.name();
	}
	
	@Override
	public Waveform process(Object input) {
		return filter.process((Waveform) input);
	}

}
